package com.ruoyi.account.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 *用户充值账户信息
 *
 * @author js
 * @date 2024-12-08
 */
public class WithdrawalAccount extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;
    @Excel(name = "用户id")
    private Long userId;
    @Excel(name = "手机号")
    private String phone;
    @Excel(name = "银行名称")
    private String bankName;
    @Excel(name = "银行卡号")
    private String bankNumber;
    @Excel(name = "银行id")
    private String bankId;
    @Excel(name = "ifsc码")
    private String ifsc;
    @Excel(name = "邮箱")
    private String email;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getBankNumber() {
        return bankNumber;
    }

    public void setBankNumber(String bankNumber) {
        this.bankNumber = bankNumber;
    }

    public String getBankId() {
        return bankId;
    }

    public void setBankId(String bankId) {
        this.bankId = bankId;
    }

    public String getIfsc() {
        return ifsc;
    }

    public void setIfsc(String ifsc) {
        this.ifsc = ifsc;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("phone", getPhone())
                .append("bankName", getBankName())
                .append("bankNumber", getBankNumber())
                .append("bankId", getBankId())
                .append("ifsc", getIfsc())
                .append("email", getEmail())
                .toString();
    }
}
